﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PX.Coureseware
{
	/// <summary>
	/// 数据类
	/// </summary>
	/// <![CDATA[2014-9-15 17:03:41]]>
	public class Database : DataBaseBase
	{
		#region 表结构属性
		public int NAME = 2;
		public int PATH = 3;
		public int DATE = 4;
		public int DATETIME = 5;
		public int USERID = 6;
		public int DEPARTMENTID = 7;
		#endregion 表结构属性

		#region 构造函数
		/// <summary>
		/// 数据类构造函数
		/// </summary>
		/// <![CDATA[2014-9-15 17:03:41]]>
		public Database(System.Web.UI.Page page)
			: base("[Courseware]", page)
		{
			_strOrder = " ORDER BY CAST("+listStructure[DATE].strName+" AS DATETIME) DESC";
		}
		#endregion 构造函数

	}
}
